﻿#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include <QCamera>
#include <QCameraInfo>

#include "QtFFmpeg/fcamera.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWidget; }
QT_END_NAMESPACE

class MainWidget : public QWidget
{
    Q_OBJECT

public:
    MainWidget(QWidget *parent = nullptr);
    ~MainWidget();

private:
    QStringList getCameraNames(void);

private:
    Ui::MainWidget *ui;

    FCamera * m_camera = nullptr;
};
#endif // MAINWIDGET_H
